package com.ikun.admin.modules.sys.vo;

import com.ikun.admin.modules.sys.build.queryBuild.RoleIdQueryBuilder;
import com.ikun.admin.modules.sys.service.RoleService;
import com.ikun.common.search.annotation.QueryUtil;
import com.ikun.common.search.enums.QueryModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName UserListParamVo
 * @Description:
 * @CreateDate: 2024/7/8 0:17
 */
@Data
@ApiModel("用户列表查询参数")
public class UserListParamVo {

    @ApiModelProperty("用户名")
    @QueryUtil(colName="nickname")
    private String nickname;

    @ApiModelProperty("角色id")
    @QueryUtil(colName = "id", customProcess = true, customClass = RoleIdQueryBuilder.class )
    private Long roleId;

    @ApiModelProperty("真实姓名")
    @QueryUtil(colName = "real_name",queryMode = QueryModel.LIKE)
    private String realName;



}
